package com.sc.everyonerentboot.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
public class Products implements Serializable {
    private Integer id;

    private String productName;

    private Integer productCondition;

    private Integer stock;

    private String productType;

    private Integer productService;

    private BigDecimal rent;

    private BigDecimal deposit;

    private Integer minimumRentalDuration;

    private Boolean isShortTermRental;

    private Boolean isRenewable;

    private Boolean isPurchasable;

    private String parameterInfoId;

    private String deliveryAddress;

    private Integer sellerId;

    private String brand;

    private String productDescription;

    private List<ProductImages> productImages;

    public List<ProductImages> getProductImages() {
        return productImages;
    }
    private AbstractParameter parameter;

    public AbstractParameter getParameter() {
        return parameter;
    }

    public void setParameter(AbstractParameter parameter) {
        this.parameter = parameter;
    }

    public void setProductImages(List<ProductImages> productImages) {
        this.productImages = productImages;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Integer getProductCondition() {
        return productCondition;
    }

    public void setProductCondition(Integer productCondition) {
        this.productCondition = productCondition;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType == null ? null : productType.trim();
    }

    public Integer getProductService() {
        return productService;
    }

    public void setProductService(Integer productService) {
        this.productService = productService;
    }

    public BigDecimal getRent() {
        return rent;
    }

    public void setRent(BigDecimal rent) {
        this.rent = rent;
    }

    public BigDecimal getDeposit() {
        return deposit;
    }

    public void setDeposit(BigDecimal deposit) {
        this.deposit = deposit;
    }

    public Integer getMinimumRentalDuration() {
        return minimumRentalDuration;
    }

    public void setMinimumRentalDuration(Integer minimumRentalDuration) {
        this.minimumRentalDuration = minimumRentalDuration;
    }

    public Boolean getIsShortTermRental() {
        return isShortTermRental;
    }

    public void setIsShortTermRental(Boolean isShortTermRental) {
        this.isShortTermRental = isShortTermRental;
    }

    public Boolean getIsRenewable() {
        return isRenewable;
    }

    public void setIsRenewable(Boolean isRenewable) {
        this.isRenewable = isRenewable;
    }

    public Boolean getIsPurchasable() {
        return isPurchasable;
    }

    public void setIsPurchasable(Boolean isPurchasable) {
        this.isPurchasable = isPurchasable;
    }

    public String getParameterInfoId() {
        return parameterInfoId;
    }

    public void setParameterInfoId(String parameterInfoId) {
        this.parameterInfoId = parameterInfoId;
    }

    public String getDeliveryAddress() {
        return deliveryAddress;
    }

    public void setDeliveryAddress(String deliveryAddress) {
        this.deliveryAddress = deliveryAddress == null ? null : deliveryAddress.trim();
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getProductDescription() {
        return productDescription;
    }

    public void setProductDescription(String productDescription) {
        this.productDescription = productDescription == null ? null : productDescription.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productName=").append(productName);
        sb.append(", productCondition=").append(productCondition);
        sb.append(", stock=").append(stock);
        sb.append(", productType=").append(productType);
        sb.append(", productService=").append(productService);
        sb.append(", rent=").append(rent);
        sb.append(", deposit=").append(deposit);
        sb.append(", minimumRentalDuration=").append(minimumRentalDuration);
        sb.append(", isShortTermRental=").append(isShortTermRental);
        sb.append(", isRenewable=").append(isRenewable);
        sb.append(", isPurchasable=").append(isPurchasable);
        sb.append(", parameterInfoId=").append(parameterInfoId);
        sb.append(", deliveryAddress=").append(deliveryAddress);
        sb.append(", sellerId=").append(sellerId);
        sb.append(", brand=").append(brand);
        sb.append(", productDescription=").append(productDescription);
        sb.append("]");
        return sb.toString();
    }
}